<?php

/**
 * Description of vkHelper
 *
 * @author makz
 */
class mmHelper 
{
	
	const APP_ID            = 467402;
	
	const APP_PRIVATE_KEY	= 'c4278cd14d1bd647271e3e0b17b96bf1';
	
	const APP_SECRET_KEY	= '8b551e324a5c1e5b96c4683cf2f70581';

	public static function getMember() 
	{
		$mrc = false;
		
		
		
		if(isset($_COOKIE['mrc']))
		{
			parse_str(urldecode($_COOKIE['mrc']), $mrc);
			$mrc = isset($mrc['vid'])&&isset($mrc['sig']) ? $mrc : false;
		}
		
		if ($mrc)
		{
			$mrc['id'] = $mrc['vid'];
		}
		
		
		
		return $mrc;
		
	}

}

?>
